package com.gm.beans;

import com.gm.entities.Orientation;
import com.gm.controllers.OrientationFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.inject.Named;
import javax.inject.Inject;
import javax.enterprise.context.SessionScoped;

@Named(value = "orientationController")
@SessionScoped
public class OrientationController extends AbstractController<Orientation> implements Serializable {

    @Inject
    private OrientationFacade ejbFacade;

    public OrientationController() {
        super(Orientation.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
